#if !defined(AFX_REMOTEATMINFO_H__5F29F334_7F83_4168_A4E7_CFD81D2A1E98__INCLUDED_)
#define AFX_REMOTEATMINFO_H__5F29F334_7F83_4168_A4E7_CFD81D2A1E98__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RemoteATMInfo.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CRemoteATMInfo dialog

class CRemoteATMInfo : public CDialog
{
// Construction
public:
	CRemoteATMInfo(CWnd* pParent = NULL);   // standard constructor
	
	LONG m_lServerID;
	NET_DVR_FRAMEFORMAT m_ATMInfo;
	BOOL m_bSetPara;
	int m_nInputMode;
	int	 m_nTypeSel;
	BOOL	m_bConnectServer;
	WORD m_ATMPort;
	BOOL m_bNewPort;

	void EnableControl(int nEnable, BOOL bNewPort);
// Dialog Data
	//{{AFX_DATA(CRemoteATMInfo)
	enum { IDD = IDD_SUBDLG_ATMINFO };
	CComboBox	m_Type5Ctrl;
	CComboBox	m_ATMTypeCtrl2;
	CComboBox	m_TypeCtrl;
	CComboBox	m_InputTypeCtrl;
	CComboBox	m_ATMTypeCtrl;
	CString	m_csBusinessCode;
	DWORD	m_dwBusinessStart;
	DWORD	m_dwBusinessLen;
	DWORD	m_dwCardNumInfoLen;
	DWORD	m_dwCardNumInfoStart;
	DWORD	m_dwCardLenInfoLen;
	DWORD	m_dwCardLenInfoStart;
	CString	m_sATMIP;
	CString	m_sMessageInfo;
	DWORD	m_dwMessageLen;
	DWORD	m_dwMessageStart;
	short	m_wATMPort;
	CString	m_csBusinessCode5;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRemoteATMInfo)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CRemoteATMInfo)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeComboinputtype();
	afx_msg void OnSelchangeCombotype();
	afx_msg void OnAtmok();
	afx_msg void OnExit();
	virtual void OnCancel();
	afx_msg void OnSelchangeCombotype5();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_REMOTEATMINFO_H__5F29F334_7F83_4168_A4E7_CFD81D2A1E98__INCLUDED_)
